package com.hrrt.home.dao.mapper;

import com.hrrt.home.dao.model.HomeEquipment;
import com.hrrt.home.dao.model.HomeEquipmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HomeEquipmentMapper {
    long countByExample(HomeEquipmentExample example);

    int deleteByExample(HomeEquipmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HomeEquipment record);

    int insertSelective(HomeEquipment record);

    List<HomeEquipment> selectByExample(HomeEquipmentExample example);

    HomeEquipment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HomeEquipment record, @Param("example") HomeEquipmentExample example);

    int updateByExample(@Param("record") HomeEquipment record, @Param("example") HomeEquipmentExample example);

    int updateByPrimaryKeySelective(HomeEquipment record);

    int updateByPrimaryKey(HomeEquipment record);
}